<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="s" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>新增或修改字典</title>
	<style type="text/css">
		#dictForm .row{
			margin-top: 5px;
		}
		.right{
			text-align: right;
		}
	</style>
</head>

<body>
<form:form id="dictForm" method="post" modelAttribute="dict" cssClass="form-horizontal">
	 <form:hidden path="dictId"/>
	<hr/>
	<div class="row">
		<div class="span5">
			<div class="control-group ">
				<form:label cssClass="control-label" for="dictName" path="dictName" >字典名称:</form:label>
				<div class="controls">
					<form:input id="dictName" path="dictName" class="input-medium"  check-type="required" required-message="字典名称不能为空!" />
				</div>
			</div>
		</div>
	</div>
	<div class="row">
		<div class="span5">
			<div class="control-group ">
				<form:label cssClass="control-label" for="dictCode" path="dictCode" >字典编码:</form:label>
				<div class="controls">
					<form:input id="dictCode" path="dictCode" class="input-medium" check-type="required" required-message="字典编码不能为空!"/>
				</div>
			</div>
		</div>
	</div>
	<div class="row">
		<div class="span5">
			<div class="control-group ">
				<form:label cssClass="control-label" for="dictDesc" path="dictDesc" >字典描述:</form:label>
				<div class="controls">
					<form:textarea id="dictDesc" path="dictDesc" class="input-medium" rows="3" />
				</div>
			</div>
		</div>
	</div>
</form:form>

</body>
</html>